<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:;">列表</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="">&nbsp;
        添加时间:
        <input type="text" class="form-control js-bootstrap-datetime" name="start_time" value="{$start_time}"
               style="width:180px;" autocomplete="off">-
        <input type="text" class="form-control js-bootstrap-datetime" name="end_time" value="{$end_time}"
               style="width:180px;" autocomplete="off">
        筛选:
        <select class="form-control" name="searchType" id="searchType" aria-invalid="false">
            <option value=""
            <empty name="searchType">selected="selected"</empty>
            >--请选择--</option>
            <option value="a.resume_name"
            <eq name="searchType" value="a.resume_name">selected="selected"</eq>
            >姓名</option>
        </select>
        <input class="form-control" type="text" name="keyword" style="width:200px;" value="{$keyword}"
               placeholder="请输入关键词">
        <input type="submit" class="btn btn-primary" value="搜索" style="margin-left: 10px;">
        <a class="btn btn-default" href="{:url('apiProject/index')}">返回</a>
    </form>
    <form method="post" class="js-ajax-form" action="{:url('sort')}">
        <if condition="$Think.session.admin_is_operate eq 1">

            <div class="table-actions">
                <button class="btn btn-danger btn-sm js-ajax-submit" type="submit" data-action="{:url('apiProject/binds',array('uuid'=>$param['uuid']))}" data-subcheck="true" data-msg="您确认操作绑定吗？">绑定</button>
            </div>
        </if>
        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
                <if condition="$Think.session.admin_is_operate eq 1">
                    <th width="16">
                        <label>
                            <input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x">
                        </label>
                    </th>
                </if>
                <th width="">游玩日期</th>
                <th width="">姓名</th>
                <th width="">性别</th>
                <th width="">年龄</th>
                <th width="">证件号</th>
                <th width="">联系电话</th>
                <th width="">添加时间</th>
                <th width="">修改时间</th>
                <th width="">状态</th>
            </tr>
            </thead>
            <volist name="infos['list']" id="vo">
                <tr>
                    <if condition="$Think.session.admin_is_operate eq 1">
                        <td>
                            <input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="{$vo.id}" <neq name="vo['status']" value="3">disabled</neq> >
                        </td>
                    </if>
                    <td>{$vo.resume_date}</td>
                    <td>{$vo.resume_name|mb_substr=###,0,15,'utf-8'|default='---'}</td>
                    <td>{$vo.resume_sex|mb_substr=###,0,20,'utf-8'|default='---'}</td>
                    <td>{$vo.resume_age|mb_substr=###,0,20,'utf-8'|default='---'}</td>
                    <td>{$vo.resume_number|mb_substr=###,0,20,'utf-8'|default='---'}</td>
                    <td>{$vo.resume_mobile|mb_substr=###,0,22,'utf-8'|default='---'}</td>
                    <td>
                        <gt name="vo.create_time" value="0">{$vo['create_time']|date='Y-m-d H:i',###}</gt>
                    </td>
                    <td>
                        <gt name="vo.update_time" value="0">{$vo['update_time']|date='Y-m-d H:i',###}</gt>
                    </td>
                    <td>{$infos['resumeStatusArr'][$vo['status']]}</td>
                </tr>
            </volist>
        </table>
        <ul class="pagination">{$infos['list']->render ()|default=''}</ul>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
<link href="__STATIC__/css/index.css" rel="stylesheet" type="text/css">
</body>
</html>